// 多行溢出隐藏
@mixin text-hiddens($number) {
  @if $number <=1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  } @else {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: $number;
    display: -moz-box;
    -moz-box-orient: vertical;
    -moz-line-clamp: $number;
    text-overflow: ellipsis;
    overflow: hidden;
  }
}
